﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SYH.Public.Model
{
    public class PublicAlbum
    {
        private int _id;
        private int _userid = 0;
        private int _imgcount = 0;
        private string _name = "";
        private string _frontcover = "";
        private DateTime _createtime = DateTime.Now;
        private int _isshow = 0;
        /// <summary>
        /// 编号
        /// </summary>
        public int Id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 商家编号
        /// </summary>
        public int UserId
        {
            set { _userid = value; }
            get { return _userid; }
        }
        /// <summary>
        /// 个数
        /// </summary>
        public int ImgCount
        {
            set { _imgcount = value; }
            get { return _imgcount; }
        }
        /// <summary>
        /// 封面图片名
        /// </summary>
        public string FrontCover
        {
            get { return _frontcover; }
            set { _frontcover = value; }
        }
        /// <summary>
        /// 相册名称
        /// </summary>
        public string Name
        {
            set { _name = value; }
            get { return _name; }
        }
        /// <summary>
        /// 创建日前
        /// </summary>
        public DateTime CreateTime
        {
            set { _createtime = value; }
            get { return _createtime; }
        }
        /// <summary>
        /// 相册权限，0代表访客可以查看，1代表仅自已可以看
        /// </summary>
        public int IsShow
        {
            get { return _isshow; }
            set { _isshow = value; }
        }
    }
}
